package com.school.test.search;

import com.jfinal.server.undertow.UndertowConfig;
import com.jfinal.server.undertow.UndertowServer;
import com.school.test.search.config.ConfigConst;
import com.school.test.search.config.SchoolTestSearchConfig;

/**
 * @author 马洁
 * @date 2020/1/2 - 9:01
 */
public class Application {
    public static void main(String[] args) {
        UndertowConfig config = new UndertowConfig(SchoolTestSearchConfig.class,
                "config/undertow.txt");
        config.setServerName(ConfigConst.APP_NAME);
        UndertowServer.create(config).start();
    }
}
